package com.info.zhiduoduo.repository.dto.partner;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class PartnerMonthlyCostDto {

    @ApiModelProperty("合伙人成本id")
    private Integer id;
    @ApiModelProperty("成本分成月份")
    private Date month;
    @ApiModelProperty("合伙人id")
    private Integer partnerid;

    @ApiModelProperty("自己关联企业的分成利润")
    private BigDecimal ownProfit;

    @ApiModelProperty("从下级合伙人获取的分成利润")
    private BigDecimal subProfit;

    @ApiModelProperty("总分成利润 = 自己关联企业的分成利润 + 从下级合伙人获取的分成利润")
    private BigDecimal totalProfit;

    @ApiModelProperty("工作室提现id")
    private Integer wdid;

    @ApiModelProperty("状态 1:待结算 2:已结算")
    private Integer state;

    private Date createtime;


}
